package cn.fz.luck.saas.config.security;

import org.springframework.security.core.GrantedAuthority;

/**
 * Created by zhuangqi on 17-7-6.
 */
public class CustomGrantedAuthority implements GrantedAuthority{

    private String url;
    private String method;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public CustomGrantedAuthority(String url, String method) {
        this.url = url;
        this.method = method;
    }

    @Override
    public String getAuthority() {
        return null;
    }
}
